package com.sservice.base.entity.dto;


import lombok.Data;

import javax.persistence.Transient;

/**
 * 实体公用部分
 * Created by suweiming on 2017/11/8.
 */
@Data
public class QueryCondition {
    /**
     * 通用Mapper在处理单表操作时就不会将标注的属性当成表字段处
     */
    @Transient
    private String startDate;
    private String keyword;
    @Transient
    private String endDate;
    @Transient
    private String dateStart;
    @Transient
    private String paperStart;
    @Transient
    private String dateEnd;
    @Transient
    private String paperEnd;
    @Transient
    private String sortField; // 排序字段
    @Transient
    private String sortOrder; // 排序
    // 分页信息
    @Transient
    private int size = 15;
    @Transient
    private int page = 1;

}
